/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.util;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

import com.legendshop.OaWebApplication;

/** 
 * Title: ServletInitializer 
 * Description: 相当于整个Web.xml 
 * Company: blog.csdn.net/lu1005287365/ 
 * @author<span style="white-space:pre">   </span>L lulu 
 * @version 1.0 
 */  
public class ServletInitializer extends SpringBootServletInitializer{

	/* (non-Javadoc)
	 * @see org.springframework.boot.web.support.SpringBootServletInitializer#configure(org.springframework.boot.builder.SpringApplicationBuilder)
	 */
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(OaWebApplication.class); 
	}
}
